//Man的实现类American
package testspring.autowired.iocclass;

import org.springframework.stereotype.Service;

@Service
public class American2 extends Man2 {
	public String sayHello() {
		return "I am American2!";
	}
}